﻿using ConfExpert.Forms.Base;
using DevExpress.XtraEditors.Repository;
using DevTeam;
using System;
using System.Windows.Forms;

namespace ConfExpert.Forms.Du4
{
    public partial class Mukerrer : XForm
    {
        public Mukerrer()
        {
            InitializeComponent();
        }

        BindingSource bs;
        private void Mukerrer_Load(object sender, EventArgs e)
        {
            bs = new BindingSource(ds, "DU4Mukerrer");
            InitGridView(gridView1, bs);
            gridView1.AddSummary("Qty1", "Qty2");
            gridView1.Columns["Product1Id"].ColumnEdit = gridView1.Columns["Product2Id"].ColumnEdit = new RepositoryItemTextEdit();

            GetDetails("DU4Mukerrer", "GetDU4Mukerrer");
            gridView1.BestFitColumns();

        }
    }
}